package com.htthorizon.system.api;

import com.htthorizon.common.core.constant.ServiceNameConstants;
import com.htthorizon.common.core.web.domain.AjaxResult;
import com.htthorizon.system.api.factory.RemoteFileFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteDataDictService", value = ServiceNameConstants.SYSTEM_SERVICE)
public interface RemoteDataDictService {

    @GetMapping(value = "/dict/data/type/{dictType}")
    AjaxResult dictType(@PathVariable("dictType") String dictType);
}
